package com.guigu.health.pojo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName:SetMemberDetails
 * @Description:套餐详情
 * @Author:longtao
 * @Date:2021/4/5
 * @Version:1.0
 */
@Component
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@ContentRowHeight(15)
@HeadRowHeight(20)
@ColumnWidth(25)
public class SetMemberDetails implements Serializable {
    @ExcelIgnore
    private Integer id;
    @ExcelProperty(value = "套餐名称")
    @ColumnWidth(50)
    private String name;
    @ExcelProperty(value = "适合性别")
    private Integer sex;
    @ExcelProperty(value = "适合年龄")
    private String age;
    @ExcelProperty(value = "价格")
    private double price;
    @ExcelProperty(value = "检查类型")
    private Integer type;
    @ColumnWidth(50)
    @ExcelProperty(value = "注意事项")
    private String attention;
    @ColumnWidth(50)
    @ExcelProperty(value = "备注")
    private String remark;
    @ExcelProperty(value = "预约时间")
    private Date orderDate;
    @ExcelProperty(value = "预约类型")
    private String orderType;
    @ExcelProperty(value = "是否到诊")
    private String status;
}
